cc = g++

.PHONY:all
all: udp_sever.exe udp_consumer.exe

udp_sever.exe:udp_sever.cc
	$(cc) -o $@ $^ -std=c++11 -lpthread

udp_consumer.exe:udp_consumer.cc  
	$(cc) -o $@ $^ -std=c++11 -lpthread

.PHONT:clean
clean:
	rm -rf udp_sever.exe udp_consumer.exe


